package nl.windgazer.arachne.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This annotation should be useful for including OpenGraph meta-tags to the
 * page. For use with, for instance FaceBook, these meta-tags can be used
 * to convey extra information about your current page. For some social plugins
 * this is even required.
 * 
 * *** For now only literal values or values with a message: prefix can be used,
 * no other binding-prefixes are supported as yet.
 * 
 * @see org.apache.tapestry5.annotations.Path
 * @see org.apache.tapestry5.annotations.IncludeJavaScriptLibrary
 * @author mreuring
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface IncludeOpenGraphMetaInfo {

	/**
     * Set up OpenGraph meta-info using a value-pair separated by equals sign.<br />
     * For instance:<br />title=The title for your content.
     */
    String[] value();

}
